package com.sdy.hospitalguard.biz.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 病区表
 * </p>
 *
 * @author zzq
 * @since 2020-05-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class InpatientAreaDTO extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @ApiModelProperty(value = "ID")
    private Integer id;

    /**
     * 树ID
     */

    @ApiModelProperty(value = "树ID")
    private String treeId;

    /**
     * 楼ID
     */
    @ApiModelProperty(value = "楼ID")
    private Integer buildingId;


    /**
     * 病区名称
     */
    @ApiModelProperty(value = "病区名称")
    private String name;

    /**
     * 摘要
     */
    @ApiModelProperty(value = "摘要")
    private String remarks;

    @ApiModelProperty(value = "病床list")
    private List<SickbedDTO> children;
}
